package cn.portx.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import cn.portx.policy.IChineseToCodeGeneratorHandler;
import cn.portx.policy.impl.DefaultChineseToCodeGeneratorHandle;

@Target({ ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface ChineseField {

	String value();

	Class<? extends IChineseToCodeGeneratorHandler> handler() default DefaultChineseToCodeGeneratorHandle.class;
}
